#!/bin/bash

hackdir=$(cd $(dirname $0); pwd)
workdir=$(cd $(dirname "$hackdir"); pwd)

source "$workdir"/venv/bin/activate

# source "$hackdir"/bashrc
export PYTHONPATH="$workdir"

python3 "$workdir"/AStock/ASApp/save_trade_cal.py --begin-date "20200101" --end-date "20201231"